package cn.zhentao.charge.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 邀请对象 charge_invite_record
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeInviteRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 邀请人 */
    @Excel(name = "邀请人")
    private Long inviteUserId;

    /** 被邀请人 */
    @Excel(name = "被邀请人")
    private Long invitedUserId;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 邀请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "邀请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invitedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInviteUserId(Long inviteUserId) 
    {
        this.inviteUserId = inviteUserId;
    }

    public Long getInviteUserId() 
    {
        return inviteUserId;
    }

    public void setInvitedUserId(Long invitedUserId) 
    {
        this.invitedUserId = invitedUserId;
    }

    public Long getInvitedUserId() 
    {
        return invitedUserId;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    public void setInvitedTime(Date invitedTime) 
    {
        this.invitedTime = invitedTime;
    }

    public Date getInvitedTime() 
    {
        return invitedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inviteUserId", getInviteUserId())
            .append("invitedUserId", getInvitedUserId())
            .append("notes", getNotes())
            .append("invitedTime", getInvitedTime())
            .toString();
    }
}
